{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "e96e1fba",
   "metadata": {},
   "source": [
    "## 1. Binance_Interface安装\n",
    "\n",
    "pip3 install binance_interface --upgrade"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "04078cab",
   "metadata": {},
   "source": [
    "## 2. Binance_Interface介绍\n",
    "\n",
    "Binance_Interface包含对Rest API接口的完全封装与APP高级封装，并长期更新维护，保证框架的有效性。\n",
    "\n",
    "**框架结构**\n",
    "\n",
    "Binance_Interface\n",
    "\n",
    "- api 官方原始接口封装\n",
    "    - SPOT 现货\n",
    "        - SPOTAccount 账户接口\n",
    "        - SPOTTrade 交易接口\n",
    "        - SPOTMarket 行情接口\n",
    "        - SPOTAlgo 策略交易接口\n",
    "    - margin 杠杆\n",
    "        - MarginAccountTrade 杠杆账户和交易接口\n",
    "        - MarginBlvt 杠杆代币接口\n",
    "    - um U本位合约\n",
    "        - UMAccountTrade 账户和交易接口\n",
    "        - UMMarket 行情接口\n",
    "        - UMPortfolio 经典统一账户\n",
    "    - cm 币本位合约\n",
    "        - CMAccountTrade 账户和交易接口\n",
    "        - CMMarket 行情接口\n",
    "        - CMPortfolio 经典统一账户接口\n",
    "    - eo 欧式期权\n",
    "        - EOAccountTrade 账户和交易接口\n",
    "        - EOMarket 行情接口\n",
    "        - EOMarketMaker 做市商接口\n",
    "    - pm 统一账户\n",
    "        - PMAccount 账户信息\n",
    "        - PMMarket 行情接口\n",
    "        - PMGetOrder 查询订单\n",
    "        - PMSetOrder 下单接口\n",
    "        - PMCancelOrder 撤单接口\n",
    "    - other 其他接口\n",
    "        - AutoInvest 定投接口\n",
    "        - BsWap 币安挖矿接口\n",
    "        - C2C C2C 接口\n",
    "        - Convert 闪兑接口\n",
    "        - CryptoLoans 质押借币接口\n",
    "        - Fiat 法币接口\n",
    "        - Futures 合约接口\n",
    "        - FuturesAlgo 合约策略交易接口\n",
    "        - GiftCard 币安礼品卡接口\n",
    "        - Mining 矿池接口\n",
    "        - Nft NFT 接口\n",
    "        - Pay Pay 接口\n",
    "        - Portfolio 经典统一账户接口\n",
    "        - Rebate 返佣接口\n",
    "        - SimpleEarn 赚币接口\n",
    "        - SubAccount 子母账户接口\n",
    "        - VipLoans VIP借币接口\n",
    "        - Wallet 钱包接口\n",
    "- app 常用接口与便捷功能封装\n",
    "    - account（账户APP）\n",
    "        - AccountSPOT\n",
    "        - AccountUM\n",
    "        - AccountCM\n",
    "    - market（行情APP）\n",
    "        - MarketSPOT\n",
    "        - MarketUM\n",
    "        - MarketCM\n",
    "    - trade（便捷交易APP，支持异步下单，挂单超时取消等）\n",
    "        - TradeSPOT\n",
    "        - TradeUM\n",
    "        - TradeCM\n",
    "    - candle_server（K线服务，支持实时多产品K线异步维护）\n",
    "        - CandleServer\n",
    "        - CandleRule\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
